blktap: remove local definitions and include byteswap.h
authorRoger Pau Monne <roger.pau@entel.upc.edu>
Tue, 20 Dec 2011 07:31:40 +0000 (08:31 +0100)
committerRoger Pau Monne <roger.pau@entel.upc.edu>
Tue, 20 Dec 2011 07:31:40 +0000 (08:31 +0100)
commit5b4d77e1bd3a48f91207d3c2246fea007875c3c3
tree7811f9dab3e017537a72e235b4c63995cbba927c
parent8f76fc6c983e3bf7c8c32fae2c7264f718e2b467
blktap: remove local definitions and include byteswap.h

Use the same approach as tools/blktap2/include/libvhd.h, remove local
definitions of bswap* and include byteswap.h. Also remove the
HAVE_BYTESWAP_H ifdef, since it was not defined in this context (it's
defined by QEMU).

Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/blktap/drivers/bswap.h